package com.zyf.chapter02.behavior.chain.variance.linkedlist;

/**
 * 使用举例
 */
public class Application {
    public static void main(String[] args) {
        HandlerChain handlerChain = new HandlerChain();
        handlerChain.addHandler(new HandlerA());
        handlerChain.addHandler(new HandlerB());
        handlerChain.handle();
    }
}
